In HTML, you can make text italic using the <i> tag or the <em> tag. Both will render the text in italics, but <em> is more semantic because it emphasizes the text, while <i> is mainly for styling purposes.
Use <i> for styling or marking text that should appear italic without special meaning.
Use <em> for emphasizing important words; screen readers give it vocal stress.
Both <i> and <em> display as italic text by default in browsers.
You can also apply italics with CSS using font-style: italic.